package com.bandroid.demo.view;

import android.app.Activity;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Button;

import com.bandroid.demo.R;
import com.bandroid.demo.base.MyActivity;
import com.base.balibrary.base.BaseActivity;
import com.base.balibrary.ioc.BaseContentView;
import com.base.balibrary.ioc.BaseOnClick;
import com.base.balibrary.ioc.BaseViewInject;

/**
 * BAndroid
 * Created by YichenZ on 2015/7/24 10:25.
 */
@BaseContentView(R.layout.activity_main)
public class MainActivityB extends MyActivity {
    @BaseViewInject(R.id.okBtn)
    Button okBtn;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setIsLeftMove(true);
    }

    @BaseOnClick(R.id.okBtn)
    @Override
    public void onClick(View view) {
        super.onClick(view);
        toastMessage(this,this.getClass().toString());
    }

}
